import React from 'react';
import styles from './profile.css';
import { history } from 'umi';

class Profile extends React.Component {
  render() {
    return (
      <div>
        <h1 className={styles.title}>Page profile</h1>
        <button onClick={() => history.goBack()}>返回</button>
      </div>
    );
  }
}
// 路由权限
Profile.wrappers = ['@/wrappers/auth'];
export default Profile;